
//
//  BFYeWuFlowLayout.m
//  beifang
//
//  Created by Apple on 17/4/12.
//  Copyright © 2017年 郭凯. All rights reserved.
//

#import "BFYeWuFlowLayout.h"

@implementation BFYeWuFlowLayout
-(void)prepareLayout{
    [super prepareLayout];
    CGFloat width = self.collectionView.frame.size.width/4;
    NSLog(@"width = %lf",width);
    self.itemSize = CGSizeMake(width, 80);
    self.minimumLineSpacing = 0;
    self.minimumInteritemSpacing = 0;
    self.scrollDirection = UICollectionViewScrollDirectionHorizontal;
}
@end
